package br.edu.unifei.cct720.alieninvasion.components.gui;

import br.edu.unifei.cct720.alieninvasion.main.gui.Game;
import br.edu.unifei.cct720.alieninvasion.patterns.Command;

public class JMenuItemAbout extends javax.swing.JMenuItem implements Command {

	private Game game;
	
	public JMenuItemAbout(String title, Game g) {
		super(title);
		this.game = g;
	}
	
	@Override
	public void execute() {
		this.game.about();
	}

}
